package com.example.questionnaire.dao;

import com.example.questionnaire.entity.ResultEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * 
 * @author hsz
 * @email 1416446590@qq.com
 * @date 2022-10-29 11:20:56
 */
@Mapper
public interface ResultDao extends BaseMapper<ResultEntity> {
	int collectResult(ResultEntity resultEntity);
	int queryIfCanAnswer(int questionnaire_id, int answerer_id);
}
